﻿using INTEX.DataBase;
using INTEX.DataBase.Tools;
using ReflectionStudio.Components.UserControls;
using ReflectionStudio.Core.Events;
using ReflectionStudio.Core.Helpers;
using System;
using System.Collections.Generic;
using System.Data;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using System.Windows.Input;
using System.Windows.Controls;
using WPFExcelReport.Helpers;
namespace WPFExcelReport
{
    public partial class UBTWI09
    {
        public VUBTWI09 vm;
        public UBTWI09()
        {
            vm = new VUBTWI09();
            this.DataContext = vm;
            InitializeComponent();
            this.Name = "仓库月报";
            cI.LO = "01";
            cI.LB = "CP";
             
            string LastMonth = "", Begin = "", End = "";
            Helper.GetLastMonth(ref LastMonth, ref Begin, ref End);
            cI.SYEAR = Helper.Left(LastMonth, 4);
            cI.SMOTH = Helper.Right(LastMonth, 2); 
        }
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {

        }
    } 
}
